package com.xagcdx.group1.bean;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author grou1
 * @since 2020-06-09
 */
@ApiModel(value="Jobtitle对象", description="")
public class Jobtitle extends Model<Jobtitle> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职称主键")
    @TableId(value = "jtid", type = IdType.UUID)
    private String jtid;

    @ApiModelProperty(value = "职称编码")
    private String jtcode;

    @ApiModelProperty(value = "名称")
    private String jtname;

    @ApiModelProperty(value = "部门id")
    private String did;

    @ApiModelProperty(value = "职称描述")
    private String jtdesc;

    @ApiModelProperty(value = "是否启用描述")
    private String tag;
    
    @ApiModelProperty(value = "备注")
    private String jtremark;
    @TableField(exist=false)
    private Depart departList;

  

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public Depart getDepartList() {
		return departList;
	}

	public void setDepartList(Depart departList) {
		this.departList = departList;
	}

	public String getJtid() {
        return jtid;
    }

    public void setJtid(String jtid) {
        this.jtid = jtid;
    }

    public String getJtcode() {
        return jtcode;
    }

    public void setJtcode(String jtcode) {
        this.jtcode = jtcode;
    }

    public String getJtname() {
        return jtname;
    }

    public void setJtname(String jtname) {
        this.jtname = jtname;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getJtdesc() {
        return jtdesc;
    }

    public void setJtdesc(String jtdesc) {
        this.jtdesc = jtdesc;
    }

    public String getJtremark() {
        return jtremark;
    }

    public void setJtremark(String jtremark) {
        this.jtremark = jtremark;
    }

    @Override
    protected Serializable pkVal() {
        return this.jtid;
    }

    @Override
    public String toString() {
        return "Jobtitle{" +
        "jtid=" + jtid +
        ", jtcode=" + jtcode +
        ", jtname=" + jtname +
        ", did=" + did +
        ", jtdesc=" + jtdesc +
        ", jtremark=" + jtremark +
        "}";
    }
}
